package com.qzsoft.zhjd.monitoring.modules.videomonitor.mapper;

import java.util.Map;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.qzsoft.zhjd.monitoring.modules.videomonitor.dto.VideoMonitorListDto;
import com.qzsoft.zhjd.monitoring.modules.videomonitor.entity.VideoMonitorEntity;

/**
 * @ClassName VideoMonitorMapper
 * @Description 视频监控数据库接口
 * @author linhuawei
 * @since 2022-03-22
 */
@Mapper
public interface VideoMonitorMapper extends BaseMapper<VideoMonitorEntity> {

    /**
     * @Title queryDto
     * @Description 获取视频监控分页列表
     * @param page   分页条件
     * @param params 查询条件
     * @return 视频监控分页列表
     */
    public IPage<VideoMonitorListDto> queryDto(IPage<VideoMonitorListDto> page,
            @Param("params") Map<String, Object> params);

}
